<template>
  <div class="felx flex-column">
    <header class="mt-15px">
      <TabList></TabList>
    </header>
    <div class="bottom flex flex-row">
      <MenuList class="left"></MenuList>
      <div class="right flex-3">
        <RouterView />
      </div>
    </div>
  </div>
</template>

<script setup>
import MenuList from '@/pages/components/MenuList.vue'
import TabList from '@/pages/components/TabList.vue'

onMounted(() => {
  const storedTheme = localStorage.getItem('theme-mode')
  if (storedTheme) {
    document.documentElement.setAttribute('theme-mode', storedTheme)
  }
})
</script>
<style scoped lang="scss">
.bottom {
  width: 100%;
}
.ant-card {
  margin: 12px;
}

.swiper_Item_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 214px;
  border-radius: 11px;
  margin-right: 24px;
  padding: 22px;
  box-sizing: border-box;
  background: rgb(0, 0, 0, 0.02);
}
.period_Title {
  height: 20px;
  font-weight: bold;
  font-size: 20px;
  color: rgb(0, 0, 0, 0.7);
}

.describe {
  font-weight: 400;
  font-size: 13px;
  color: rgb(0, 0, 0, 0.7);
}
</style>
